package com.wuwei.elearning.question.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author wuwei
 * @since 2024-04-01
 */
@TableName("wrong_record")
@Data
public class WrongRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * user表的account
     */
    private Long userAccount;

    /**
     * question表的id
     */
    private Long questionId;

    /**
     * 如果小于10000，则为chapter表中的id字段，如果大于10000，则为subject表的id加上10000
     */
    private Long selectedId;

    /**
     * 做错该题的时间
     */
    private LocalDateTime createdTime;


}
